import re
import requests

content = requests.get("https://book.douban.com").text
#print(content)
#pattern = re.compile('<li*?cover*?href="(.*?)".*?title="(.*?)".*?more-meta.*?author">(.*?)</span>.*?year">(.*?)</span>.*?</li>', re.S)
pattern = re.compile(r'<li.*?cover.*?href="(.*?)"\stitle="(.*?)">', re.S)
results = re.findall(pattern, content)
print(results)
